//
//  HomeView.h
//  Village
//
//  Created by 程虎 on 2017/9/6.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VillageModel.h"

@protocol HomeViewDelegate <NSObject>

- (void)middleItemsClickWithIndex:(NSInteger )index;
- (void)scrollNewsClickWithIndex:(NSInteger )index WithData:(VillageModel *)model;
- (void)tableNewsClickWithData:(id )model WithIndex:(NSInteger )index;

@end

@interface HomeView : UIView

@property (nonatomic, copy)NSString *areaIDStr;
@property (nonatomic, weak) id<HomeViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame SuperView:(UIViewController *)controllers;
@end
